Iterator.end
- Instance of
Description
Represents the end of iteration.
Example
let it <- [1, 2, 3, 4].iterator()
while (!(let i <- it.next()) is Iterator.end)
console.write(i)
Expected output
1234
Represents the end of iteration.
let it <- [1, 2, 3, 4].iterator()
while (!(let i <- it.next()) is Iterator.end)
console.write(i)
Expected output
1234